import xlwings as xw
app = xw.App(visible=False, add_book=False)
workbook = app.books.open('F:\\python\\第4章\\汽车备案信息.xlsx')
worksheet = workbook.sheets['商用车信息']
a = worksheet.range('A1')
b = worksheet.range(1, 1)
c = worksheet.range('A12:D60')
d = worksheet.range((12, 1), (60, 4))
print(a)
print(b)
print(c)
print(d)
workbook.close()
app.quit()
